<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="res/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="res/css/main.css">
<link rel="stylesheet" href="res/css/index.css">
<title></title>
<style>
	.all{
		width:100%;
		margin-top:10px;
		height:50px;
	}
	.lower{
		width:100%;
		background-color:#f2f2f2
	}
	.select{
		font-size:24px;
		text-align:center;
	}
	
	.tablestyle{
		width:100%;
		background-color: #EDEDED;
		margin-bottom: 120px;
	}
	.tablestyle td{
		height:50px;
		font-size:18px;
		text-align:center;
		border:1px solid black;
	}
	.tablestyle th{
		font-size:20px;
		width:10%;
		border:1px solid black;
	}
	
		.topcenter{
			text-align:center;
			margin-top:5px;
			font-size:24px;
		}
        
        .label{
        	float: left;
			display: block;
			padding: 9px 15px;
			width: 200px;
			font-weight: 400;
			line-height: 20px;
			text-align: right
        }
        #submit{
       		margin-top:15px;
        	margin-left:200px;
        }
        
        .all li{
        	float: left;
			padding: 5px;
			color: #666;
			list-style: none;
			border-left: 1px solid black;
			cursor: pointer;/*鼠标的光标样式定义*/
        }
        
       .topstyle {
       		height:30px;
			overflow: hidden;
		}
		
        .all li:hover,.selected {
        	line-height:50px;
			border-left: 1px solid black;
		}
        
        .content{
			border: 1px solid black;
			padding: 10px;
			overflow: hidden;
		}
		.all-list div{
			display:none;
		}
		.all-list div.active{
			display:block;
		}
</style>
</head>
<body>

	<!-- 导入导航栏 -->
	<div class="layui-container" style="width:100%">
	  	<%@ include file="header.jsp" %> 
  	</div>
		<div class=" layui-container">
			<div class="list layui-row layui-col-space12 active">
				<p class="topcenter" style="margin-bottom: 30px;">运动员成绩排名统计</p>
				<table class="tablestyle">
					<tbody>
						<tr>
							<th>姓名</th><th>项目名称</th><th>小组成绩</th><th>小组排名</th><th>决赛成绩</th><th>决赛排名</th><th>名次</th>
						</tr>
						<c:forEach items="${athletist }" var="athletist">
							<tr>
								<th rowspan="2">
									${athletist.athletesname }
								</th>
							</tr>
							<tr>
								<td>${athletist.projectname }</td>
								<%-- <td>${athletist.year }</td> --%>
								<td>${athletist.preliminaries }</td>
								<td>${athletist.preliminariesrank }</td>
								<td>${athletist.finalresult }</td>
								<td>${athletist.finalrank }</td>
								<td>第${athletist.num }名</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
		
		
  	<!-- footer部分 -->
	<div class="layui-container" style="width:100%;margin-top:10px;">
	  	<%@ include file="footer.jsp" %> 
  	</div>
<script src="res/layui/layui.js"></script>

</body>
</html>